package common.filter;

import org.springframework.stereotype.Component;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @Author: 郑国荣
 * @Date: 2024-03-29-17:00
 * @Description:
 */
@Component
@WebFilter(filterName = "BookServiceFilter", urlPatterns = {"/book/*"})
public class BookServiceFilter extends ServiceFilter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("进入book服务过滤器========");
        super.doFilter(servletRequest, servletResponse, filterChain);
    }

}
